﻿using System;
using System.Drawing;
using MUnit;

namespace Fifteen
{
    class TestButton 
    {
        [Setup]
        void Setup()
        {
            // This will be run once before each test method
        }
        [Test]
        void ReachedFinalPosition()
        {
            Point point = new Point(3, 3);
            TButton button = new TButton(point, point, null);

            Verify.Assert(button.HasReachedFinalPosition);
        }

        [Test]
        void NotReachedFinalPosition()
        {
            Point pointA = new Point(3, 3);
            Point pointB = new Point(2, 1);
            TButton button = new TButton(pointA, pointB, null);

            Verify.Assert(!button.HasReachedFinalPosition);
        }

        [TearDown]
        void TearDown()
        {
            // This will be run once after each test method
        }
    }
}
